using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace YushengMall.Backend.Api.Entity
{
    public record EntityBase{
    
        [Column(TypeName="uniqueidentifier")]
        public Guid ID{get;set;}

        
        /// <summary>
        /// 是否启用0：false，1：true
        /// </summary>
        /// <value></value>
        public bool IsActived{get;set;}
        /// <summary>
        /// 是否删除0：false，1：true
        /// </summary>
        /// <value></value>
        public bool IsDeleted{get;set;}
        /// <summary>
        /// 创建数据
        /// </summary>
        /// <value></value>
        public DateTime CreateTime{get;set;}
        /// <summary>
        /// 更新时间
        /// </summary>
        /// <value></value>
        public DateTime UpdateTime{get;set;}

    }
}